package com.hetaozi.login.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @email： wf520200@163.com
 * @date: 2021/11/11 9:50
 * 功能：
 * 描述：
 * @author： 吴帆
 **/
@Api(tags = "swagger接口测试")
@RestController
@RequestMapping("/swagger")
public class SwaggerTestController {


    @ApiOperation(value = "测试")
    @PostMapping("/test")
    public String test(){
        return "swagger-test-success";
    }
}
